package com.test.factoryBean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.test")
public class MyConfig {
	@Bean
	public MyFactoryBean MyFactoryBean () {
		return new MyFactoryBean();
	}
}
